
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">#{[$result.id]}({[$result.oper_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'负责人']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
		<td align="right">日期：</td>
		<td><input type="text" name="date" id="date" size="12" value="{[$result.date]}"></td>
	</tr>
	<tr>
		<td align="right">帐户：</td>
		<td><select name='account'>
			{[html_options options=$account_option selected=$result.account]}
		</select></td>
		<td align="right">类型：</td>
		<td><select name='venture' id='venture'>
			{[html_options options=$venture_option selected=$result.venture]}
		</select></td>
	</tr>
	<tr>
		<td align="right">银行：</td>
		<td colspan="3"><select name='bank'>
			{[html_options options=$bank_option selected=$result.bank]}
		</select> <select name='type'>
			{[html_options options=$type_option selected=$result.type]}
		</select></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55">{[$result.name]}</textarea></td>
	</tr>	
	<tr>
		<td align="right">金额：</td>
		<td colspan="3"><input type="text" name="amount" id="amount" size="12" value="{[$result.amount]}"><select name='currency' id='currency'>
			{[html_options options=$currency_option selected=$result.currency]}
		</select><label id="label_amount"></label></td>
	</tr>
	<tr>
		<td align="right">期限：</td>
		<td colspan="3"><input type="text" name="day" id="day" size="12" value="{[$result.day]}"> <select name='day_t' id='day_t'>
      {[html_options options=$day_option selected=-]}
      </select></td>
	</tr>
	<tr>
		<td align="right">周期：</td>
		<td colspan="3"><input type="text" name="date1" id="date1" size="12" value="{[$result.t1]}"> 至 <input
			type="text" name="date2" id="date2" size="12" value="{[$result.t2]}"></td>
	</tr>
	<tr>
		<td align="right">年收益率：</td>
		<td colspan="3"><input type="text" name="yield" id="yield" size="12" value="{[$result.yield]}"></td>
	</tr>
	<tr>
		<td align="right">预计收益：</td>
		<td colspan="3"><input type="text" name="bonus" id="bonus" size="12" value="{[$result.bonus]}"><label id="label_bonus"></label></td>
	</tr>	
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" id="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/finance/invest/add.js?r={[$smarty.now]}"></script>

<script type='text/javascript'>
_from();
_bonus();
</script>
